package 设计模式.适配器.two;

public class ChangeAdapter {

    class LineTypeC extends Net implements TypeC{

        @Override
        public void handleLine() {
            super.getNet();
        }
    }

    class LineUsb extends Net implements Usb{

        @Override
        public void handleLine() {
            super.getNet();
        }
    }

    public static void main(String[] args) {
        ChangeAdapter adapter = new ChangeAdapter();
        LineTypeC lineTypeC = adapter.new LineTypeC();

        lineTypeC.handleLine();

    }
}
